#!/usr/bin/env python
# coding=utf-8
# __author__ = 'Yunchao Ling'

import os
import sys
import VerifyFile

root_path = sys.argv[1]
for i in xrange(int(sys.argv[2], 16), int(sys.argv[3], 16) + 1):
    path = "{0:0>2x}".format(i)
    for parent, dirnames, filenames in os.walk(sys.argv[1] + "/" + path):
        for filename in filenames:
            filepath = os.path.join(parent, filename)
            if not VerifyFile.verifyFile(filepath):
                print filepath
